package com.atzzy.ysmall.ysmall_mapper;

import com.atzzy.ysmall.ysmall_beans.CategoryVo;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @Author JAVAZeng
 * @Date 2022/3/2 17:45
 * @Version 1.0
 */
@Mapper
@Repository
public interface CategoryMapper {
    //连接查询
    public List<CategoryVo> selectAllCategories();
    //子查询
    public List<CategoryVo> selectAllCategoriestow(Integer parentId);
}
